package com.zk.ppa.service;

import com.zk.ppa.dao.po.Family;

import java.util.List;

/**
 * @author Mr.yang
 * @create 2021-03-24 22:26
 */
public interface FamilyService {

    /**
     * saveFamily 保存贫困户的基本信息
     * @param family
     * @return
     */
    Boolean saveFamily(Family family);

    /**
     * getFamily 获取所有贫困户的基本信息
     * @return
     */
    List<Family> getFamily();

    /**
     * getFamilyById 获取某个贫困户的基本信息
     * @return
     */
    Family getFamilyById(long Id);

    /**
     * updateFamily 改变某个贫困户的基本信息
     * @param family
     * @return
     */
    Boolean updateFamily(Family family);

    /**
     * deleteFamily 删除某个贫困户的基本信息
     * @param Id
     * @return
     */
    Boolean deleteFamily(long Id);
}
